import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import axios from './utils/api'
import VueAxios from 'vue-axios';
import "/common/font/font.css";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import leMarkdownEditor from 'le-markdown-editor';
import TurnDownService from 'turndown';
import showdown from 'showdown';
//element按需导入,减少性能占用
Vue.use(ElementUI);
//html转化为md的工具
Vue.prototype.turnDownService = new TurnDownService();
Vue.prototype.mdConverter = new showdown.Converter();
Vue.use(leMarkdownEditor);
Vue.use(VueAxios, axios);
Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');
